gl: Add gdk_gl_context_get_version()
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 12 Feb 2015 14:28:22 +0000 (14:28 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 12 Feb 2015 14:29:44 +0000 (14:29 +0000)
commit390a42fa605e99362ac307bf568113dcdad41cdc
tree890ff714b0e53385ec0e78e205610c2653c150e1
parentf52a59d4148dedc40d8e942f120c7999a39ffec7
gl: Add gdk_gl_context_get_version()

Store the OpenGL version when we first do the extensions check; this
allows client code to check the available GL version without requiring a
call to gdk_gl_context_make_current() and epoxy_gl_version().
docs/reference/gdk/gdk3-sections.txt
gdk/gdkglcontext.c
gdk/gdkglcontext.h